export default class Iterator {
  async run (fn) {
    let res = await fn().then(resp => {
      console.log(resp)
      return resp
    })
    console.log(res)
    return res
  }
}
